<?
class Rule_SignupUnique extends Rule
{
	function Check($hash)
	{
		$count = DB::scalarSelect("select count(*) from login where normalform = ? ", $hash['normalform'] );
		if(  $count==0 ) return true;
		return false;
	}
}